#!/bin/bash
mysql -uroot -p$MYSQL_ROOT_PASSWORD -D${MYSQL_DATABASE}<<EOF
tee session.out
source ${WORK_PATH}/${FILE_0};
source ${WORK_PATH}/${FILE_START};
source ${WORK_PATH}/${FILE_1};
source ${WORK_PATH}/${FILE_2};
source ${WORK_PATH}/${FILE_3};
source ${WORK_PATH}/${FILE_4};
source ${WORK_PATH}/${FILE_5};
source ${WORK_PATH}/${FILE_6};
source ${WORK_PATH}/${FILE_7};
source ${WORK_PATH}/${FILE_8};
source ${WORK_PATH}/${FILE_END};
SET GLOBAL FOREIGN_KEY_CHECKS=1;
EOF

